<?php
	$process_type = "add";	// Please choose only ONE !! Edit / Preview / Delete . 'Edit' and 'Add' are considered as the same value.
	$process_module_name = "upload";	// Module Name
	$process_module_id = "5";	// Module ID
	$process_module_sub_id = "0";	// Module Sub ID
	$process_module_category = "management"; // Module Category
	$rowDivWidth = 60;	// Width for first column label form (pixel)
	$rowDivWidth2 = 140;	// Width for first column label form (pixel)
	$form_name = "form_upload";	// Form Name
	$form_action = "proc_upload.php";	// Form Action
?>
<div class="content">
	<form action="process/<?php echo $form_action; ?>" method="post" enctype="multipart/form-data" name="<?php echo $form_name; ?>" id="files" style="margin:0; padding:0;">
	<?php include("action/act_includes_global/1_act_inc_global_formstartconfig.php"); // Do not Edit !!! ?>
	<?php include("action/act_includes_global/3_act_inc_global_formrowdatahidden.php"); // Do not Edit !!! Every form must include this file !  ?>
	
	<div class="content_header_left">
		<!-- Start Content Header Left -->
		<?php include("ws_includes/1_ws_inc_priviligestring.php"); ?>
		<?php include("ws_includes/2_ws_inc_headerlabel.php"); ?>
		<!-- End Content Header Left -->
	</div>
	<div class="content_header_right">
		<!-- Start Content Header Right -->
		
		<!-- End Content Header Right -->
	</div>
	<div style="clear:both;"></div>
	<div class="content_body">
		<!-- Start Content Body -->
		<div>
			<?php
				$sql = "select modulesuburlback from ms_module_sub where stsrc = 'A' and modulesubname = 'logo' limit 0,1";
				$exe = mysql_query($sql) or die(mysql_error());
				$num = mysql_num_rows($exe);
				$row = mysql_fetch_array($exe);
				
				if($num > 0)
				{
			?>
			<div style="float:left; width:31%; border:solid black 1px; margin-right:5px; ">
				<div style="padding:5px;">
					<div><a href="<?php echo $row['modulesuburlback']; ?>">Change Logo / FavIcon</a></div>
				</div>
			</div>
			<?php
				}
			?>
			<?php
				$sql = "select modulesuburlback from ms_module_sub where stsrc = 'A' and modulesubname = 'images' limit 0,1";
				$exe = mysql_query($sql) or die(mysql_error());
				$num = mysql_num_rows($exe);
				$row = mysql_fetch_array($exe);
				
				if($num > 0)
				{
			?>
			<div style="float:left; width:31%; border:solid black 1px; margin-right:5px; ">
				<div style="padding:5px;">
					<div><a href="<?php echo $row['modulesuburlback']; ?>">Add more Image</a></div>
				</div>
			</div>
			<?php
				}
			?>
			<?php
				$sql = "select modulesuburlback from ms_module_sub where stsrc = 'A' and modulesubname = 'files' limit 0,1";
				$exe = mysql_query($sql) or die(mysql_error());
				$num = mysql_num_rows($exe);
				$row = mysql_fetch_array($exe);
				
				if($num > 0)
				{
			?>
			<div style="float:left; width:31%; border:solid black 1px; margin-right:5px; ">
				<div style="padding:5px;">
					<div><a href="<?php echo $row['modulesuburlback']; ?>">Add more File</a></div>
				</div>
			</div>
			<?php
				}
			?>
			<div class="clear"></div>
		</div>
		<!-- End Content Body -->
	</div>
	<div style="clear:both;"></div>
	</form>
</div>